﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.ServiceModel;
using System.Data.Entity;
using WCFThree.Entity;
namespace WCFThree.Abstract
{
    /// <summary>
    /// 学生分数，接口封装
    /// </summary>
    [ServiceContract]
    public interface IScore
    {
        /// <summary>
        /// 获取表达式树
        /// </summary>
        /// <returns></returns>
        DbSet<score> GetDbSet();
        /// <summary>
        /// 获取学生的成绩列表
        /// </summary>
        /// <param name="sno">学生编号</param>
        /// <returns></returns>
        [OperationContract]
        List<score> GetList_Stu(string sno);
    }
}
